import VueRouter from 'vue-router';

import TableTest from '../pages/TableTest.vue';
import TableBox from '../pages/TableBox.vue';
import DefaultTable from '../pages/DefaultTable.vue';
import FancyGrid from '../pages/fancy-grid.vue';
import Editor from '../pages/editor';
import QuillEditor from '../pages/QuillEditor';
import PrintTemp from '../pages/editor/print-temp';
import ExtendsTest from '../pages/extendsTest'
import OssFile from '../pages/oss-file'
import GridTable from '../pages/umyTable/grid-table'
import VXTable from '../pages/vxTable';
import VxkTable from '../pages/vxTable/vxk-table'
import Ele from '../pages/ele'
import HPrint from '../pages/print/hiprint'
// import VPrint from '../pages/print/v-hiprint'
// import SvPrint from '../pages/print/sv-print'
import Dialog from '../pages/dialog';
import VoucherTable from '../pages/voucher-table';

const router = new VueRouter({
  mode: 'history',
  routes: [
    {path: '/voucher-table', name: 'VoucherTable', component: VoucherTable},
    {path: '/dialog', name: 'Dialog', component: Dialog},
    {path: '/oss-file', name: 'OssFile', component: OssFile},
    {path: '/table-test', name: 'TableTest', component: TableTest},
    {path: '/table-box', name: 'TableBox', component: TableBox},
    {path: '/DefaultTable', name: 'DefaultTable', component: DefaultTable},
    {path: '/FancyGrid', name: 'FancyGrid', component: FancyGrid},
    {path: '/Editor', name: 'Editor', component: Editor},
    {path: '/QuillEditor', name: 'QuillEditor', component: QuillEditor},
    {path: '/editor/print-temp', name: 'PrintTemp', component: PrintTemp},
    {path: '/ExtendsTest', name: 'ExtendsTest', component: ExtendsTest},
    {path: '/umy-table/grid-table', name: "GridTable", component: GridTable},
    {path: '/vx-table', name: "VXTable", component: VXTable},
    {path: '/vxk-table', name: "VxkTable", component: VxkTable},
    {path: '/ele/index', name: "Ele", component: Ele},
    {path: '/print/hiprint', name: "HPrint", component: HPrint},
    // {path: '/print/v-hiprint', name: 'VPrint', component: VPrint},
    // {path: '/print/sv-print', name: 'SvPrint', component: SvPrint},
    {path: '*', redirect: {name: 'TableTest'}}
  ]
});

export default router
